package game.ubibomb;

import org.apache.cordova.DroidGap;

import android.os.Bundle;
import android.view.WindowManager;
// used to fire deviceready 

public class MyPhoneGapActivity extends DroidGap {
	
	private MyClass mc;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		super.init();
		
        mc = new MyClass(this, appView);
        appView.addJavascriptInterface(mc, "MyClass");
        
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
        
		super.loadUrl("file:///android_asset/www/index.html");
	}
}
